package com.pojo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author Zhengjz
 * @version 1.0
 * @className Petmaster
 * @date 2021/3/1 12:06
 */
@Data
@ToString
//宠物主人类
public class Petmaster implements Serializable {

    private Integer id;
    private Integer userId;
    private String name;
    private String sex;
    private String phone;
    private String address;
    private Petinfo petinfo;

    public Petmaster(){}

    public Petmaster(Integer id, Integer userId, String name, String sex, String phone, String address, Petinfo petinfo) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.address = address;
        this.petinfo = petinfo;
    }
}
